package net.lahuobao.finance.entity.criticallog;

/**
 * Created by fyu1 on 15/4/7.
 *
 *
************** 后台敏感信息操作类型 ***********************
//1交易管理，2财务支付-通过，3账户管理，4线下充值,5财务审核-通过,51财务审核-驳回,21财务支付(通过前)-驳回,22财务支付(通过后)-驳回
int ADMIN_SENSITIVE_INFO_TYPE_ORDERS_MGR=1;
        int ADMIN_SENSITIVE_INFO_TYPE_WITHDRAW_PAY=2;
        int ADMIN_SENSITIVE_INFO_TYPE_ACCOUNT_MGR=3;
        int ADMIN_SENSITIVE_INFO_TYPE_RECHARGE_PAY=4;
        int ADMIN_SENSITIVE_INFO_TYPE_WITHDRAW_AUDIT=5;
        int ADMIN_SENSITIVE_INFO_TYPE_WITHDRAW_AUDIT_REJECT=51;
        int ADMIN_SENSITIVE_INFO_TYPE_WITHDRAW_PAY_REJECT=21;
        int ADMIN_SENSITIVE_INFO_TYPE_WITHDRAW_PAYED_REJECT=22;
 */
public enum ECriticalType {
    ADMIN_SENSITIVE_INFO_TYPE_ORDERS_MGR {
        public String getName() {
            return "交易管理";
        }

        public Short getValue() {
            return 1;
        }
    },
    ADMIN_SENSITIVE_INFO_TYPE_WITHDRAW_PAY {
        public String getName() {
            return "财务支付-通过";
        }

        public Short getValue() {
            return 2;
        }
    },
    ADMIN_SENSITIVE_INFO_TYPE_ACCOUNT_MGR {
        public String getName() {
            return "账户管理";
        }

        public Short getValue() {
            return 3;
        }
    },
    ADMIN_SENSITIVE_INFO_TYPE_RECHARGE_PAY {
        public String getName() {
            return "线下充值";
        }

        public Short getValue() {
            return 4;
        }
    },
    ADMIN_SENSITIVE_INFO_TYPE_WITHDRAW_AUDIT {
        public String getName() {
            return "财务审核-通过";
        }

        public Short getValue() {
            return 5;
        }
    },
    ADMIN_SENSITIVE_INFO_TYPE_WITHDRAW_AUDIT_REJECT {
        public String getName() {
            return "财务审核-驳回";
        }

        public Short getValue() {
            return 51;
        }
    },
    ADMIN_SENSITIVE_INFO_TYPE_WITHDRAW_PAY_REJECT {
        public String getName() {
            return "财务支付(通过前)-驳回";
        }

        public Short getValue() {
            return 21;
        }
    },
    ADMIN_SENSITIVE_INFO_TYPE_WITHDRAW_PAYED_REJECT {
        public String getName() {
            return "财务支付(通过后)-驳回";
        }

        public Short getValue() {
            return 22;
        }
    },ADMIN_SENSITIVE_INFO_TYPE_RECHARGE_AliPAY {
        public String getName() {
            return "支付宝充值";
        }

        public Short getValue() {
            return 4;
        }
    },ADMIN_SENSITIVE_INFO_TYPE_APPLY_PAYMENT_PASSWORD {
        public String getName() {
            return "申请支付密码";
        }

        public Short getValue() {
            return 23;
        }
    },ADMIN_SENSITIVE_INFO_TYPE_CHANGE_PAYMENT_PASSWORD {
        public String getName() {
            return "修改支付密码";
        }

        public Short getValue() {
            return 24;
        }
    },ADMIN_SENSITIVE_INFO_TYPE_CONFIRM_STOWAGE {
        public String getName() {
            return "确认配载";
        }

        public Short getValue() {
            return 25;
        }
    },ADMIN_SENSITIVE_INFO_TYPE_STOWAGE_SERVICE_FEE {
        public String getName() {
            return "物流管家服务费用";
        }

        public Short getValue() {
            return 25;
        }
    };

    public abstract String getName();

    public abstract Short getValue();
}



